package example.common;

/**
 * Implementaci�n del manager de seguridad
 * @author icasado
 *
 */
public class SecurityManagerImpl implements SecurityManager {

	/**
	 * @see example.common.SecurityManager#login(java.lang.String, java.lang.String)
	 */
	public Object login(String username, String password) {
		if (username == null 
				|| password == null 
				|| "".equals(username)
				|| "".equals(password)) {
			return null;
		}
		return username;
	}

}
